home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
c
/
cenvid9.zip
/
INT16.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-03-04
|
540b
|
21 lines
@echo off
REM *****************************************************
REM *** Int16.bat - Show results of calls to keyboard ***
REM *** ver.1 interrupt 16H ***
REM *****************************************************
CEnvi.exe %0.bat
GOTO CENVI_EXIT
printf("Press Keys to see codes returns by interrupt 16h (until <ESC>)\n");
#define ESCAPE_CODE 0x011B
do {
inreg.ah = 0;
interrupt(0x16,inreg,outreg);
printf("%04X\n",outreg.ax);
} while( outreg.ax != ESCAPE_CODE );
:CENVI_EXIT